#include <stdio.h>

int main(int argc, char *argv[])
{
	int n, num;
	scanf("%d", &n);

	num = n/2+1;
	printf("%d\n", num*(1*2+(num-1)*2)/2);

	return 0;
}
